import req from '@/utils/req';

// export const uploadDoc = (data: any) => req.post('/parse/doc2html', data);
export const uploadDoc = (data: any) => req.post('/parse/doc2html2', data);

export const getDoc = (docId: string, page: number) => req.get(`/parse/doc2html2/${docId}/${page}`);

export const uploadExcel = (data: any) => req.post('/parse/excel2json', data);